package com.jj.message;

import io.netty.buffer.ByteBuf;

public interface IoMessage {

    public short getMsgID();

    public void setMsgID(short msgID);

    public ProtoFormat getProtocolFormat();

    public void setProtocolFormat(ProtoFormat protocolFormat);

    public byte[] getPayload();

    public void setPayload(byte[] payload);

    public String getJsonMsg();

    public void setJsonMsg(String jsonMsg);

    public void write2ByteBuf(ByteBuf byteBuf);
}
